package com.gome.oa.custom.render;

import java.awt.Component;

import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;

import com.gome.oa.custom.CustomCheckbox;

/**
 *
 * @author: tang li
 * @date: 2016年8月20日
 * @desc: 
 *
 */
public class CheckboxTableCellRenderer extends DefaultTableCellRenderer {

	private static final long serialVersionUID = 1L;

	@Override
	public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected,
		      boolean hasFocus, int row, int column) {
		
		CustomCheckbox customCheckbox = (CustomCheckbox)value;
		
		return customCheckbox;
	}

}
